package com.cn.zy.ex.binTree;

import org.junit.Test;

/**
 * @author: zhangyi
 * @date: 2018/12/14 10:46
 * @description:
 */
public class TestBinTree {

    /**
     * 测试二叉树
     */
    @Test
    public void binTreeDemo(){
        BinTree binTree = new BinTree("根节点");
        BinTree lBinTree = new BinTree("第二个节点");
        BinTree rBinTree = new BinTree("第三个节点");
        binTree.setlChild(lBinTree);
        binTree.setrChild(rBinTree);
    }
}
